package com.hxzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxzy.mapper.CategoryMapper;
import com.hxzy.product.entity.Category;
import com.hxzy.service.CategoryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商品分类
 *
 * @author tonneyyy
 */
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper,Category> implements CategoryService {
    @Override
    public List<String> findNameByCategoryIds(Integer[] ids) {
        return this.baseMapper.findNameByCategoryIds(ids);
    }
}
